<template>
	<a-layout style="min-height: 100vh; background: #fff">
		<Header msg="头部"></Header>
		<a-layout style="background: #fff">
			<Sider msg="导航"></Sider>
			<a-layout-content style="margin: 0px; background: #fff">
				<router-view></router-view>
			</a-layout-content>
		</a-layout>
	</a-layout>
</template>
<script>
import Header from '@/views/Main/Header.vue';
import Sider from '@/views/Main/Sider.vue';

export default {
	components: {
		Header,
		Sider,
	},
	data() {
		return {};
	},
	methods: {},
};
</script>

<style>
.sider {
	box-sizing: border-box;
	height: calc(100vh - 48px);
	border-right: 1px solid #f0f0f0;
	bottom: 0px;
}
.sider .menu {
	overflow-y: auto;
	overflow-x: hidden;
	height: calc(100vh - 80px);
	width: calc(100% - 1px);
	bottom: 50px;
}
.sider .sider-bootm {
	text-align: left;
	border-top: 1px solid #f3f3f3;
	width: 100%;
	top: calc(100vh - 80px);
	position: absolute;
}
.sider .sider-bootm .trigger {
	font-size: 18px;
	line-height: 30px;
	padding: 0 24px;
	cursor: pointer;
	transition: color 0.3s;
}
.sider .sider-bootm .trigger:hover {
	color: #1890ff;
}
.ant-menu-inline,
.ant-menu-vertical {
	border: 0px;
}
.header {
	margin: 0px;
	padding: 0px;
	height: 48px;
	line-height: 48px;
	width: 100%;
	z-index: 100;
	right: 0 px;
	color: #fff;
}
.header .left {
	float: left;
	width: 350px;
	margin-left: 15px;
}
.header .left img {
	margin-top: 10px;
	margin-right: 12px;
	height: 28px;
	float: left;
	vertical-align: middle;
	border-style: none;
	line-height: 48px;
}
.header .left H1 {
	height: 32px;
	color: #fff;
	font-weight: 600;
	font-size: 18px;
	line-height: 48px;
}
.header .right {
	float: right;
	width: 300px;
	text-align: right;
	margin-right: 20px;
}
</style>
